package com.itheima.d07_singleton;

public class Test {
 /*   TaskManager t1=new TaskManager();
    TaskManager t2=new TaskManager();
    TaskManager t3=new TaskManager();*/
 public static void main(String[] args) {
     TaskManager t1= TaskManager.getInstance();
     TaskManager t2= TaskManager.getInstance();
     TaskManager t3= TaskManager.getInstance();
     System.out.println(t1);
     System.out.println(t2);
     System.out.println(t3);

 }

}
